home *** CD-ROM | disk | FTP | other *** search
/ BBS Toolkit / BBS Toolkit.iso / qbbs / ra_rps01.zip / RA_RPS.DOC < prev    next >
Encoding:
Text File  |  1980-01-01  |  4.7 KB  |  111 lines

  1.  
  2.                    The RemoteAccess Random Page Selector
  3.                        V.01
  4.                     (C)1990 Sylint Skreemerz' Sophtwear
  5.  
  6.  
  7. What it is:
  8.   The RemoteAccess Random Page Selector is exactly what the name implies.  It
  9. randomly selects a page (from the directory your pagers are in), copies it over
  10. to your RemoteAccess directory, giving it the name of PAGE.RA.
  11.  
  12. How it works:
  13.   The process by which it works is not very complicated.  Matter of fact, I
  14. don't know that much about what I was doing, so here is basically the way that
  15. it works:
  16.     Opens the file PAGE.CTL
  17.     Reads each line into the same variable
  18.        --Just to count the number of pagers
  19.     Then it randomly selects a number between
  20.          1 and the number of pagers.
  21.     It then goes through the list again, this time 
  22.          only to the line number of the random number.
  23.     Takes the line number plus one and pulls the text
  24.          out from that line (plus one is to exclude the path)
  25.     Shells with a statement like, 'SHELL "Copy "+PAGENUM$+" "+RAPATH$'
  26.        --Simple concept.
  27.  
  28. Why I wrote it:
  29.   I wrote this program because I saw so many people in the ECHO RA_SUPPORT
  30. talking about how there program can do this and that, and that it handles so
  31. many pagers, and all that great stuff.  So I thought, if all you want to do
  32. is randomly select a page, why not have a small program to do it?  So I wrote
  33. this to do that purpose.
  34.  
  35. What you need to do:
  36.   First you need to create a directory.  This directory must have atleast the
  37. PAGE.CTL in it.  You can actually have the PAGE.CTL file in any directory.
  38. Most people will prefer to make a special directory so that they can also put
  39. their pagers and the program in it.  You MUST be in the directory that has
  40. PAGE.CTL in it when you run the program!  You must have BRUN45 somewhere in
  41. your path.
  42.  
  43.             This is IMPORTANT!!!!
  44.  
  45. You absolutely MUST have the name of every page that you want to use in the
  46. PAGE.CTL file!  If you have all of your pagers in the directory with PAGE.CTL
  47. then all that is required is the page name and the extension, usually .RA.
  48. If you have your pagers in a directory other that the one that your PAGE.CTL
  49. is in, you must also supply the COMPLETE path to each page.  The first line of
  50. the PAGE.CTL MUST be the complete path to your RemoteAccess directory.  You
  51. cannot put a trailing backslash on the path!  The best way to get all of your
  52. pagers into the file is to do the following:
  53.  
  54. DIR > PAGE.CTL
  55.  
  56. This will put a directory listing into the file PAGE.CTL.  Just edit the file
  57. with a text editor and take out everything that is not needed.  The file should
  58. look like this when completed
  59.  
  60. C:\RA
  61. (page1.pg)
  62. (page2.pg)
  63. (page3.pg)
  64. (page4.pg)
  65. (page5.pg)
  66. (page6.pg)
  67. (page6.pg)
  68. (page7.pg)
  69.  
  70.   The (page?.pg) is the name of the pager, such as AMERICA.RA.
  71.  
  72.   My PAGE.CTL currently has 41 pagers listed, you can have up to 65535.  That
  73. equals out to about a 700k textfile of every file took 12 bytes.  God help you
  74. if you even come close to that number.
  75. A sample PAGE.CTL file IS included....
  76.  
  77. Speed of the program:
  78.   The speed of the prgram is amazingly fast.  I run on a 4.77 Mhz machine with
  79. 256k RAM and 2 floppy drives and it selects 1 page out of the 40 in less than 2 
  80. seconds.  It has also been tested on a AT 12Mhz with 200 Meg drive space.
  81. It only took long enough for the program display it message and it was done.
  82. Also done with 40 pagers.
  83.  
  84. Now the dreaded:
  85.  i gurantee this program to do nothing.  It runs on my system, and that is all
  86. I know of it doing.  If it turns you 4.8 gig hard drive into a Quantum 8" Full
  87. Height 5 Meg, it won't be my problem.
  88.  
  89. A Plug:
  90.   Nothing is asked for the use of this program.  But, if you wish to send, don't
  91. let me stop you.  If you send anything send 3 360k floppy disks.  2 for contri-
  92. bution purposes and 1 so that I can send you back a copy of the latest version
  93. with your BBS name and number on the display.  Please include YOUR name, YOUR
  94. BBS name, BBS phone number, and your, if any, Net/Node number in the form of,
  95. (zone:net/node).  Send to:
  96.               Sylint Skreemerz' Sophtwear
  97.               90 Denise Drive
  98.               Jacksonville, North Carolina  28540
  99.                             USA
  100.  
  101.               C/O Adam Wood
  102.  
  103.   The latest version can be Freq'd from either (1:3614/104) or (1:3614/107),
  104. or be downloaded from The Alfheim BBS (919)577-8172, or The MINUS World
  105. (919)324-1391.  The file to Freq' or D/l is RA_RPS.  Old versions can be
  106. requested as RA_RPS01.* or whatever the version # is of it.
  107.  
  108.   If the programmers of RemoteAccess happen to read this, it would be nice to
  109. for them to drop a line to me:  Adam Wood, letting me know how THEY like the
  110. program...  I can be reached at one of the following nets or phone numbers
  111. above.
  112.